package org.budo.aliyun.sdk.impl.response;

import java.io.Serializable;
import java.util.List;

/**
 * @author lmw
 */
public class DescribeInstancesResponse implements Serializable {
    private static final long serialVersionUID = -6937856141892742592L;

    private List<Instance> instances;

    public List<Instance> getInstances() {
        return instances;
    }

    public void setInstances(List<Instance> instances) {
        this.instances = instances;
    }

    public static class Instance implements Serializable {
        private static final long serialVersionUID = -6914485741317783874L;

        private String instanceName;

        private List<String> primaryIpAddresses;

        public String getInstanceName() {
            return instanceName;
        }

        public void setInstanceName(String instanceName) {
            this.instanceName = instanceName;
        }

        public List<String> getPrimaryIpAddresses() {
            return primaryIpAddresses;
        }

        public void setPrimaryIpAddresses(List<String> primaryIpAddresses) {
            this.primaryIpAddresses = primaryIpAddresses;
        }
    }
}